package com.shop.loan.mapper;

import com.shop.loan.model.entity.PayOrderThirdByMybatis;
import org.apache.ibatis.annotations.Param;

public interface PayOrderThirdByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PayOrderThirdByMybatis row);

    int insertSelective(PayOrderThirdByMybatis row);

    PayOrderThirdByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PayOrderThirdByMybatis row);

    int updateByPrimaryKey(PayOrderThirdByMybatis row);

    PayOrderThirdByMybatis selectBySerialNo(@Param("serialNo") String serialNo);

    Integer selectLoanStatusByOrder(@Param("orderId") Long orderId);

    Integer selectPayTypeIngByOrder(@Param("orderId") Long orderId, @Param("payType") Integer payType);

    Integer selectNum(@Param("orderId") Long orderId);

    PayOrderThirdByMybatis selectLastLoanStatus(@Param("orderId") Long orderId);
}